package com.snow.campuslink.bbs.mapper;

import com.snow.campuslink.bbs.converter.dto.SelectBbsPostDto;
import com.snow.campuslink.bbs.entity.BbsPost;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Gaosl
 * @since 2021-02-10
 */
public interface BbsPostMapper extends BaseMapper<BbsPost> {

    /**
     * TODO
     *
     * @param paramMap
     * @author Gaosl
     * @date 2021/2/26 14:19
     * @return java.util.List<com.snow.campuslink.bbs.converter.dto.SelectBbsPostDto>
     */
    List<SelectBbsPostDto> selectBbsPost(Map<String, Object> paramMap);

    /**
     * TODO
     *
     * @param paramMap
     * @author Gaosl
     * @date 2021/2/26 14:38
     * @return int
     */
    int updateActionCount(Map<String, Object> paramMap);


}
